/*    */ package base;
/*    */ 
/*    */ public class StatusSolicitacao
/*    */ {
/*    */   private Integer idStatusSolic;
/*    */   private String descricao;
/*    */   private static final int EM_ABERTO = 1;
/*    */   private static final int ATENDIDA = 2;
/*    */   private static final int NAO_ATENDIDA = 3;
/*    */ 
/*    */   public StatusSolicitacao(Integer id)
/*    */   {
/* 14 */     if (id == new Integer(1))
/* 15 */       this.descricao = "Em Aberto";
/* 16 */     else if (id == new Integer(2))
/* 17 */       this.descricao = "Atendida";
/* 18 */     else if (id == new Integer(3))
/* 19 */       this.descricao = "Não Atendida";
/*    */   }
/*    */ 
/*    */   public String getDescricao()
/*    */   {
/* 24 */     return this.descricao;
/*    */   }
/*    */ 
/*    */   public void setDescricao(String descricao) {
/* 28 */     this.descricao = descricao;
/*    */   }
/*    */ 
/*    */   public Integer getIdStatusSolic() {
/* 32 */     return this.idStatusSolic;
/*    */   }
/*    */ 
/*    */   public void setIdStatusSolic(Integer idStatusSolic) {
/* 36 */     this.idStatusSolic = idStatusSolic;
/*    */   }
/*    */ }

/* Location:           C:\apache-tomcat-6.0.35\webapps\sistrans\WEB-INF\classes\
 * Qualified Name:     base.StatusSolicitacao
 * JD-Core Version:    0.6.2
 */